package com.example.papercut.service.impl.dimension;

import com.example.papercut.entity.dimension.TXTCategory;
import com.example.papercut.mapper.dimension.TXTCategoryMapper;
import com.example.papercut.service.dimension.DimensionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class TXTCategoryServiceImpl implements DimensionService<TXTCategory> {
    private final TXTCategoryMapper categoryMapper;
    @Autowired public TXTCategoryServiceImpl(TXTCategoryMapper categoryMapper) {
        this.categoryMapper = categoryMapper;
    }
    @Override
    public List<TXTCategory> findAll() {
        return categoryMapper.findAll();
    }
}